<!--{if $userInfo[userId]}-->
<div class="login_fter">
        	<dl>
            	<dt class="welcome">欢迎您：$userInfo[userName]</dt>
                <dt class="yh" ><a href="user.htm">用户中心</a></dt>
                <dt class="zl" ><a href="user-detail.htm">基本资料</a></dt>
                <dt class="gw" ><a href="cart.htm">我的购物车</a></dt>
                <dt class="dg" ><a href="order.htm">我的订单</a></dt>
                <dt class="rh" ><a href="user-gifts.htm">我的兑换</a></dt>
                <!-- <dt class="nh" ><a href="user-favorite.htm">我的收藏</a></dt>-->
				<dt class="gw" ><a href="price-admin.htm">批量订购产品</a></dt>
                <dt class="pndc" ><a href="user-pwd.htm">密码修改</a></dt>
                <dt class="ex" ><a href="site-logout.htm">退出</a></dt>
       	 	</dl>
</div>
<!--{else}-->
<div class="login">
	<form action="site-login.htm" method="post">
	<h1><img src="{GODHOUSE_DOMAIN_IMAGE}images/{GODHOUSE_TEMPLATE_STYLE}/003.gif" /></h1>
	<ul>
		<li class="line_t">用户帐户：</li>
		<li class="login_a"><input class="EnterEmail" type="text" name="userName" id="userName" value=" Enter Name ..." />
		</li>
		<li class="line_t">用户密码：</li>
		<li class="login_a"><input class="EnterEmail" type="password" name="passwd" id="passwd" value=" password" />
		</li>
	  <li class="line_t">验证码：<input class="yzm" name="validCode" type="text" /> 
	<img src="extend/vercode.php" onclick="this.src=this.src+'?'+Math.random();" /></li>
	</ul>
	<p>
		<input type="hidden" name="submitTo" value="1" />
        <input type="image" src="{GODHOUSE_DOMAIN_IMAGE}images/{GODHOUSE_TEMPLATE_STYLE}/006.gif"/>
        <a href="site-register.htm"><img src="{GODHOUSE_DOMAIN_IMAGE}images/{GODHOUSE_TEMPLATE_STYLE}/0061.gif" /></a>
		<label style="display:none"><a href="site-register.htm" class="help">用户注册</a></label>
	</p>
	</form>
</div>
<script language="javascript">
J(function(){
	J('#userName').click(
		function(){
			if(J('#userName').val()==' Enter Name ...') {
				J('#userName').val('');
			}
		}
	);
	J('#userName').blur(
		function(){
			if(J('#userName').val()=='') {
				J('#userName').val(' Enter Name ...');
			}
		}
	);
	J('#passwd').click(
		function(){
			if(J('#passwd').val()==' password') {
				J('#passwd').val('');
			}
		}
	);
	J('#passwd').focus(
		function(){
			if(J('#passwd').val()==' password') {
				J('#passwd').val('');
			}
		}
	);
	J('#passwd').blur(
		function(){
			if(J('#passwd').val()=='') {
				J('#passwd').val(' password');
			}
		}
	);
})
</script>
<!--{/if}-->